package com.ems.dto;

import com.ems.entity.Student;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class PersonInfo {

    private user user;
    private examinfo examinfo;


    @Data
    @AllArgsConstructor
    @NoArgsConstructor
    public static class user{
        private Integer id;
        private String username;
        private String phone;
        private String email;
        private String academy;
        private String specialty;
        private String name;
        private String sex;
        private String age;
        private String WeChat;
        private String ClassName;
    }

    @Data
    @AllArgsConstructor
    @NoArgsConstructor
    public static class examinfo{
        private Integer participated;
        private Integer noparticipated;
    }
}
